package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Dict;

import java.util.List;
import java.util.Map;

/**
 * @Author: 翟文海
 * @Date: 2022/10/28/028 15:54
 * @Version: 1.0
 * @Description: TODO
 **/
public interface DictService {

    /**
     * 根据父id查询数据
     * @param parentId
     * @return
     */
    List<Map<String, Object>> findZnodes(Long parentId);

    List<Dict> findByDictCode(String code);

    List<Dict> findDictListByParentId(Long parentId);

}
